import {ApiFetch} from "../api/apiHandler";
import {BaseUrl} from "../constant/constant";

class MsgModel {
    constructor() {
        this.url = BaseUrl
    }

    getDataTotal(params) {
        let end = this.url + 'getnewcount'
        let req = new ApiFetch(end)
        return req.fetch(params)
    }

    deal(params) {
        let end = this.url + 'getbalanceapplynotreply'
        let req = new ApiFetch(end)
        return req.fetch(params)
    }
}

export default MsgModel